package com.zhongge.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName LoginController
 * @Description TODO
 * @Author zhongge
 * @Version 1.0
 */
@Controller
@RequestMapping("/login")
public class LoginController {
    //总的登录页面
    @GetMapping("/indexLogin")
    public String indexLogin(){
        return "studestsys/login/login-select";
    }

    //教师登录页面
    @GetMapping("/teacherLogin")
    public String teacherLogin(){
        return "studestsys/login/counselor-login";
    }
    //学生登录页面
    @GetMapping("/studentLogin")
    public String studentLogin(){
        return "studestsys/login/student-login";
    }
}
